package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface ShoppingService {
    /*
    * 添加购物车
    * */
    void shoppingadd(ShoppingCartDTO shoppingCartDTO);
/*
* 查询购物车
* */
    List<ShoppingCart> select();
/*
* 清空购物车
* */
    void shoppingdclean();
/*
* 根据id删除购物车商品
* */
    void subshopping(ShoppingCartDTO shoppingCartDTO);
}
